#pragma  once

#ifndef _H_REGSISTFILE_H_
#define _H_REGSISTFILE_H_

#include <map>
#include "CmutaAlgoDemo.h"
#include <utility>

class RegsistFace
{
public:
	static void RegsistPro(std::map<CString,ICommand*>& CommandMap)
	{
		CommandMap.insert(Comp(new CCommond()));
		CommandMap.insert(Comp(new CSortCommand()));
		CommandMap.insert(Comp(new CStable_sortCommand()));
		CommandMap.insert(Comp(new CPartial_sortCommand()));
	}

	static pair<CString,ICommand*> Comp(ICommand* pFace)
	{
		return make_pair(pFace->GetCommondName(),pFace);
	}
};
#endif